Optimal. Leaf size=68 \[ -\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}-\frac {1}{2 a^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}+\frac {\text {Shi}\left (\tanh ^{-1}(a x)\right )}{2 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {6153, 6113,
6181, 3379} \begin {gather*} \frac {\text {Shi}\left (\tanh ^{-1}(a x)\right )}{2 a^2}-\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}-\frac {1}{2 a^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3379
Rule 6113
Rule 6153
Rule 6181
Rubi steps
\begin {align*} \int \frac {x}{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)^3} \, dx &=-\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}+\frac {\int \frac {1}{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)^2} \, dx}{2 a}\\ &=-\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}-\frac {1}{2 a^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}+\frac {1}{2} \int \frac {x}{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)} \, dx\\ &=-\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}-\frac {1}{2 a^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}+\frac {\text {Subst}\left (\int \frac {\sinh (x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{2 a^2}\\ &=-\frac {x}{2 a \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}-\frac {1}{2 a^2 \sqrt {1-a^2 x^2} \tanh ^{-1}(a x)}+\frac {\text {Shi}\left (\tanh ^{-1}(a x)\right )}{2 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 43, normalized size = 0.63 \begin {gather*} \frac {-\frac {a x+\tanh ^{-1}(a x)}{\sqrt {1-a^2 x^2} \tanh ^{-1}(a x)^2}+\text {Shi}\left (\tanh ^{-1}(a x)\right )}{2 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(153\) vs.
\(2(58)=116\).
time = 1.14, size = 154, normalized size = 2.26
method | result | size |
default | \(\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}}{4 a^{2} \left (a x -1\right ) \arctanh \left (a x \right )^{2}}+\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}}{4 a^{2} \left (a x -1\right ) \arctanh \left (a x \right )}-\frac {\expIntegral \left (1, -\arctanh \left (a x \right )\right )}{4 a^{2}}+\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}}{4 \arctanh \left (a x \right )^{2} \left (a x +1\right ) a^{2}}-\frac {\sqrt {-\left (a x -1\right ) \left (a x +1\right )}}{4 \arctanh \left (a x \right ) \left (a x +1\right ) a^{2}}+\frac {\expIntegral \left (1, \arctanh \left (a x \right )\right )}{4 a^{2}}\) | \(154\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\left (- \left (a x - 1\right ) \left (a x + 1\right )\right )^{\frac {3}{2}} \operatorname {atanh}^{3}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x}{{\mathrm {atanh}\left (a\,x\right )}^3\,{\left (1-a^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________